home *** CD-ROM | disk | FTP | other *** search
- Path: gail.ripco.com!mambuhl
- From: mambuhl@ripco.com (Martin Ambuhl)
- Newsgroups: comp.lang.c
- Subject: Re: Check if A-drive is r
- Date: 15 Feb 1996 17:29:00 GMT
- Organization: Ripco Communications, Inc.
- Message-ID: <4fvqgs$qok@gail.ripco.com>
- NNTP-Posting-Host: golden.ripco.com
-
- proviron@glo.be (Koen Van de Velde)
- in <4fpsuq$9nq@rhea.glo.be> asks:
-
- >My question: How can I check if the A-drive is pressent before DOS
- >(aahhhgg) does ?
-
- if (can(see)) {
- open(eyes);
- a_drive_status = lookat(drive_a);
- }
- else
- if (can(feel)) {
- extend(hand);
- a_drive_status = feel(drive_a);
- }
- else {
- fprintf(stderr,"I will NOT stick my tongue in the drive\n");
- exit(EXIT_FAILURE);
- }
-
- --
- * Martin Ambuhl net: mambuhl@ripco.com
- * Chicago, IL (USA)
-